package com.wangdong.network;

import com.google.gson.annotations.SerializedName;

/**
 * 作者：wangdong on 2018/4/26 11:16
 * 邮箱：2100520956@qq.com
 */

public class User {
    //省略其它
    public String name;
    public int age;
    @SerializedName("email_address")
    public String emailAddress;

    public User(String name, int age, String emailAddress) {
        this.name = name;
        this.age = age;
        this.emailAddress = emailAddress;
    }

    public User(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public User() {

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getEmailAddress() {
        return emailAddress;
    }

    public void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }
}
